var dartConfig = require("./dart.config.js");
var flutterConfig = require("./flutter.config.js");
module.exports = {
  title: "我的文档",
  description: "just 玩玩",
  head: [
    ["link", { rel: "icon", href: "/hero.png" }],
    ["script", { src: "/1.js" }],
  ],
  base: "/online-documentation/",
  themeConfig: {
    logo: "/hero.png",
    nav: [
      { text: "Home", link: "/" },
      { text: "Guide", link: "/guide/" },
      { text: "External", link: "https://google.com" },
      {
        text: "技术",
        ariaLabel: "Language Menu",
        items: [
          { text: "webpack优化", link: "/webpack/" },
          { text: "Japanese", link: "/language/japanese/" },

          { text: "可视化", link: "/look/" },
          { text: "dart", link: "/dart/" },
          { text: "flutter", link: "/flutter/" },
        ],
      },
    ],
    sidebar: {
      "/webpack/": [
        {
          path: "",
          title: "webpack面试题",
          collapsable: false,
          children: [
            {
              path: "/webpack/css",
              title: "css优化",
            },
            {
              path: "/webpack/alias",
              title: "alias优化",
            },
          ],
        },
      ],
      "/look/": [
        {
          path: "/look/base",
          title: "可视化必会基础知识",
          collapsable: true,
          children: [
            {
              path: "/look/base/canvas",
              title: "canvas",
            },
            {
              path: "/look/base/svg",
              title: "svg",
            },
            {
              path: "/look/base/webGl",
              title: "webGl",
            },
            {
              path: "/look/base/zrender",
              title: "zrender",
            },
            {
              path: "/look/base/d3",
              title: "d3",
            },
            {
              path: "/look/base/three",
              title: "three",
            },
            {
              path: "/look/base/echarts",
              title: "echarts",
            },
            {
              path: "/look/base/heightcharts",
              title: "heightcharts",
            },
            {
              path: "/look/base/antv",
              title: "antv",
            },
          ],
        },
        {
          path: "/look/three/",
          title: "three教程",
          collapsable: true,
          children: [
            {
              path: "/look/three/1",
              title: "1、hello world",
            },
            {
              path: "/look/three/2",
              title: "2、照相机",
            },
            {
              path: "/look/three/3",
              title: "3、几何形状",
            },
            {
              path: "/look/three/4",
              title: "4、材质",
            },
            {
              path: "/look/three/5",
              title: "5、网格",
            },
            {
              path: "/look/three/6",
              title: "6、外部模型",
            },
            {
              path: "/look/three/7",
              title: "7、光与影",
            },
          ],
        },
      ],
      "/dart/": [
        {
          path: "/dart",
          title: "dart知识点",
          collapsable: true,
          children: [
            {
              path: "/dart/print",
              title: "日志打印",
            },
          ],
        },
      ],
    },
  },
};
